﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="user_EditPassword.aspx.cs" Inherits="UserCenter_user_EditPassword" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>修改密码</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
       <div style="width:600px; margin:0 auto" >
         <table style="width:600px; margin-top:20px" rules="all">
          <tr>
            <td colspan="2" style=" text-align:center"><font color="red">修改密码！</font></td>
          </tr>
          <tr>
            <td>原密码</td>
            <td><asp:TextBox ID="TextBox1" runat="server" Width="170px"></asp:TextBox></td>
          </tr>
          <tr>
            <td>新密码</td>
             <td><asp:TextBox ID="TextBox2" TextMode="Password" runat="server" Width="170px"></asp:TextBox></td>
          </tr>
          <tr>
            <td>确认密码</td>
            <td>
              <asp:TextBox ID="TextBox3" TextMode="Password" runat="server" Width="170px"></asp:TextBox>
               <asp:CompareValidator ID="CompareValidator1" ControlToCompare="TextBox2" ControlToValidate="TextBox3" ErrorMessage="密码不一样" runat="server"></asp:CompareValidator>

            </td>
          </tr>
          <tr>
            <td colspan="2" style="text-align:center">
              <asp:Button runat="server" Text="确认修改" onclick="Unnamed1_Click" />
            </td>
          </tr>
         </table>
       </div>
    </div>
    </form>
</body>
</html>
